using System;
using System.Collections.Generic;
using System.Text;

namespace Coriander.Google.Charting
{
    /// <summary>
    /// 
    /// </summary>
    public class ChartAxisLabel
    {
        Double? position;
        String text;

        /// <summary>
        /// 
        /// </summary>
        public Double? Position
        {
            get { return position; }
            set { position = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        public String Text
        {
            get { return text; }
            set { text = value; }
        }

        /// <summary>
        /// ctor : String
        /// </summary>
        /// <param name="text"></param>
        public ChartAxisLabel(String text)
            : this(text, null)
        { }

        /// <summary>
        /// ctor : String, Double?
        /// </summary>
        /// <param name="text"></param>
        /// <param name="position"></param>
        public ChartAxisLabel(String text, Double? position)
        {
            this.text = text;
            this.position = position;
        }
    }
}
